package com.kakaxi.mybilibili.bean;

import com.alibaba.fastjson.annotation.JSONField;

import java.util.List;

/**
 * 用户信息类
 * Created by kakaxi on 16/11/23.
 */

public class MemberBean {

    private String mid;

    private String name;

    private boolean approve;

    private String sex;

    private String rank;

    private String face;

    private int coins;

    @JSONField(name = "DisplayRank")
    private String displayRank;

    private int regtime;

    private int spacesta;

    private String place;

    private String birthday;

    private String description;

    private int article;

    List<Integer> attentions;

    private int fans;

    private int friend;

    private int attention;

    private String sign;

    @JSONField(name = "level_info")
    private MemberLevelInfoBean levelInfo;

    private MemberPendantBean pendant;

    private MemberNameplateBean nameplate;

    @JSONField(name = "official_verify")
    private MemberOfficialVerifyBean officialVerify;

    private MemberVipBean vip;

    private String uname;

    private String avatar;

    public String getMid() {
        return mid;
    }

    public void setMid(String mid) {
        this.mid = mid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public boolean isApprove() {
        return approve;
    }

    public void setApprove(boolean approve) {
        this.approve = approve;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getRank() {
        return rank;
    }

    public void setRank(String rank) {
        this.rank = rank;
    }

    public String getFace() {
        return face;
    }

    public void setFace(String face) {
        this.face = face;
    }

    public int getCoins() {
        return coins;
    }

    public void setCoins(int coins) {
        this.coins = coins;
    }

    public String getDisplayRank() {
        return displayRank;
    }

    public void setDisplayRank(String displayRank) {
        this.displayRank = displayRank;
    }

    public int getRegtime() {
        return regtime;
    }

    public void setRegtime(int regtime) {
        this.regtime = regtime;
    }

    public int getSpacesta() {
        return spacesta;
    }

    public void setSpacesta(int spacesta) {
        this.spacesta = spacesta;
    }

    public String getPlace() {
        return place;
    }

    public void setPlace(String place) {
        this.place = place;
    }

    public String getBirthday() {
        return birthday;
    }

    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public int getArticle() {
        return article;
    }

    public void setArticle(int article) {
        this.article = article;
    }

    public List<Integer> getAttentions() {
        return attentions;
    }

    public void setAttentions(List<Integer> attentions) {
        this.attentions = attentions;
    }

    public int getFans() {
        return fans;
    }

    public void setFans(int fans) {
        this.fans = fans;
    }

    public int getFriend() {
        return friend;
    }

    public void setFriend(int friend) {
        this.friend = friend;
    }

    public int getAttention() {
        return attention;
    }

    public void setAttention(int attention) {
        this.attention = attention;
    }

    public String getSign() {
        return sign;
    }

    public void setSign(String sign) {
        this.sign = sign;
    }

    public MemberLevelInfoBean getLevelInfo() {
        return levelInfo;
    }

    public void setLevelInfo(MemberLevelInfoBean levelInfo) {
        this.levelInfo = levelInfo;
    }

    public MemberPendantBean getPendant() {
        return pendant;
    }

    public void setPendant(MemberPendantBean pendant) {
        this.pendant = pendant;
    }

    public MemberNameplateBean getNameplate() {
        return nameplate;
    }

    public void setNameplate(MemberNameplateBean nameplate) {
        this.nameplate = nameplate;
    }

    public MemberOfficialVerifyBean getOfficialVerify() {
        return officialVerify;
    }

    public void setOfficialVerify(MemberOfficialVerifyBean officialVerify) {
        this.officialVerify = officialVerify;
    }

    public MemberVipBean getVip() {
        return vip;
    }

    public void setVip(MemberVipBean vip) {
        this.vip = vip;
    }

    public String getUname() {
        return uname;
    }

    public void setUname(String uname) {
        this.uname = uname;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    /**
     * 用户等级信息类
     */
    public class MemberLevelInfoBean {

        @JSONField(name = "current_level")
        private Integer currentLevel;

        @JSONField(name = "current_min")
        private Integer currentMin;

        @JSONField(name = "current_exp")
        private Integer currentExp;

        @JSONField(name = "next_exp")
        private String nextExp;

        public Integer getCurrentLevel() {
            return currentLevel;
        }

        public void setCurrentLevel(Integer currentLevel) {
            this.currentLevel = currentLevel;
        }

        public Integer getCurrentMin() {
            return currentMin;
        }

        public void setCurrentMin(Integer currentMin) {
            this.currentMin = currentMin;
        }

        public Integer getCurrentExp() {
            return currentExp;
        }

        public void setCurrentExp(Integer currentExp) {
            this.currentExp = currentExp;
        }

        public String getNextExp() {
            return nextExp;
        }

        public void setNextExp(String nextExp) {
            this.nextExp = nextExp;
        }
    }

    /**
     * 用户装饰息类
     */
    public class MemberPendantBean {

        private int pid;

        private String name;

        private String image;

        private int expire;

        public int getPid() {
            return pid;
        }

        public void setPid(int pid) {
            this.pid = pid;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getImage() {
            return image;
        }

        public void setImage(String image) {
            this.image = image;
        }

        public int getExpire() {
            return expire;
        }

        public void setExpire(int expire) {
            this.expire = expire;
        }
    }

    /**
     * 用户域名信息类
     */
    public class MemberNameplateBean {

        private int nid;

        private String name;

        private String image;

        @JSONField(name = "image_small")
        private String imageSmall;

        private String level;

        private String condition;

        public int getNid() {
            return nid;
        }

        public void setNid(int nid) {
            this.nid = nid;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getImage() {
            return image;
        }

        public void setImage(String image) {
            this.image = image;
        }

        public String getImageSmall() {
            return imageSmall;
        }

        public void setImageSmall(String imageSmall) {
            this.imageSmall = imageSmall;
        }

        public String getLevel() {
            return level;
        }

        public void setLevel(String level) {
            this.level = level;
        }

        public String getCondition() {
            return condition;
        }

        public void setCondition(String condition) {
            this.condition = condition;
        }
    }

    /**
     * 用户本地验证信息类
     */
    public class MemberOfficialVerifyBean {

        private int type;

        private String desc;

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public String getDesc() {
            return desc;
        }

        public void setDesc(String desc) {
            this.desc = desc;
        }
    }

    /**
     * 用户vip信息类
     */
    public class MemberVipBean {

        private int vipType;

        private long vipDueDate;

        private String dueRemark;

        private int accessStatus;

        private int vipStatus;

        private String vipStatusWarn;

        public int getVipType() {
            return vipType;
        }

        public void setVipType(int vipType) {
            this.vipType = vipType;
        }

        public long getVipDueDate() {
            return vipDueDate;
        }

        public void setVipDueDate(long vipDueDate) {
            this.vipDueDate = vipDueDate;
        }

        public String getDueRemark() {
            return dueRemark;
        }

        public void setDueRemark(String dueRemark) {
            this.dueRemark = dueRemark;
        }

        public int getAccessStatus() {
            return accessStatus;
        }

        public void setAccessStatus(int accessStatus) {
            this.accessStatus = accessStatus;
        }

        public int getVipStatus() {
            return vipStatus;
        }

        public void setVipStatus(int vipStatus) {
            this.vipStatus = vipStatus;
        }

        public String getVipStatusWarn() {
            return vipStatusWarn;
        }

        public void setVipStatusWarn(String vipStatusWarn) {
            this.vipStatusWarn = vipStatusWarn;
        }
    }

}
